export default {
  powerCounter(state) {
    return Math.pow(state.counter, 2)
  },
  // 外部传参
  powerNumCounter(state, getters) {
    return num => {
      return getters.powerCounter * num
    }
  }
}
